package com.han.demo4.after;

/**
 * @ClassName Client
 * @Description 测试安全门
 * @Author duoduo Han
 * @Date 2024/6/2 18:46
 */
public class Client {
    public static void main(String[] args) {
        GoldenSafetyDoor d1 = new GoldenSafetyDoor();
        d1.antiTheft();
        d1.fireproof();

        d1.waterproof();
        System.out.println("============================================");
        OtherSafetyDoor d2 = new OtherSafetyDoor();
        d2.fireproof();
        d2.waterproof();

    }
}
